<?php
/**
 * Created by PhpStorm.
 * User: yxs
 * Date: 2017/6/5
 * Time: 18:07
 */

namespace app\shop\controller;

use think\Controller;

class ShopGoods1 extends Controller
{
   // <editor-fold defaultstate="collapsed" desc="">
    public function index()
    {
        return view();
    }
   // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="添加商品">
    public function add(){
        $category_id = input("category_id");
        $category_tree = input("category_tree");
        $name = input("name","","urldecode");
        $intro = input("intro","","urldecode");
        $flag_putaway = input("price");
        $detail = input("detail","","urldecode");
        $sort = input("sort",0);
        $price_original =  input("price_original");//商品原价
        $cover_image = input("cover_image/a");
        $slide_image = input("slide_image/a");
        $store_id = input("store_id");
        $is_rec = input("is_rec",0);
    }
    // </editor-fold>
}